if(DOCS)
	include(${CMAKE_ROOT}/Modules/FindDoxygen.cmake)
	if(DOXYGEN_DOT_FOUND)
		set(HAVE_DOT YES)
	else(DOXYGEN_DOT_FOUND)
		set(HAVE_DOT NO)
	endif(DOXYGEN_DOT_FOUND)
	configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
	add_custom_target(Docs ALL ${DOXYGEN} \"${CMAKE_CURRENT_BINARY_DIR}/Doxyfile\")
endif(DOCS)